#include "structs.h"
#include <fstream>
#include "functions.h"

void GetLine(std::ifstream &file, char notes[])
{
  //This function returns the next line of music
  for (int i = 0; i < 5; ++i)
    file >> notes[i];
}

SongData LoadSong(std::ifstream &file)
{
  SongData data;
  file >> data.bpm >> data.numLines;
  return data;
}


